package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName("menber")
public class Menber extends MyPage implements Serializable {

    //主键
    @TableId(value = "menber_id",type = IdType.AUTO)
    private Integer menberId;

    //TableField 非主键的注解 ，定义的属性和列名的映射关系
    @TableField(value = "menber_name")
    private String menberName;

    @TableField(value = "menber_sex")
    private String menberSex;

    @TableField(value = "menber_age")
    private Integer menberAge;

    @TableField(value = "menber_address")
    private String menberAddress;

    @TableField(value = "menber_mark")
    private Integer menberMark;


}
